#print('\n'.join([''.join([('Love'[(x-y)%4]if((x*0.05)**2+(y*0.1)**2-1)**3-(x*0.05)**2*(y*0.1)**3<=0 else' ')for x in range(-30,30)])for y in range(15,-15,-1)]))


with open('C:/Users/shuping/Desktop/qwe.txt','r',encoding='utf-8') as d:
    e = d.read()
    s = ''
    for i in e:
        i.replace(","," ")
        s += i
    d.close()

q = s.split()
print(q)

str_a = input('请输入需要查找车牌的省级名称')
if str_a == '北京' or str_a == '上海' or str_a == '天津':
    str_a += '市'
elif str_a == '广西':
    str_a += '壮族自治区'
elif str_a == '内蒙古':
    str_a += '自治区'
elif str_a == '宁夏':
    str_a += '回族自治区'
elif str_a == '新疆':
    str_a += '维吾尔族自治区'
elif str_a == '西藏':
    str_a += '自治区'
else:
    str_a += '省'
str_s = input('请输入需要查找车牌的市级名称')
str_w = str_a +','+ str_s
for i in q:
    if str_w in i:
        print(i)


with open('C:/Users/shuping/Desktop/test.txt','r',encoding='utf-8') as d:
    a = d.read()

from PyQt5.QtWidgets import QApplication,QWidget,QLabel,QPushButton,QMainWindow,QComboBox



import sys



import turtle



import random



import time



from weather import weather_find



import pygame



import datetime



import json



import django



import base64



import opener



a = a.split()
print(len(a))
print(a)


import turtle

yu = input('看那一种？(1,2,3)')
q = 200
w = 190

turtle.bgpic("cai.png")
turtle.title('彩虹')

a = ['red','orange','yellow','green','blue','indigo','violet']
if yu == '1':
    turtle.left(45)
    for i in a:
        turtle.color(i)
        turtle.begin_fill()
        turtle.circle(-q,90)
        turtle.left(-90)
        turtle.fd(5)
        turtle.left(-90)
        turtle.circle(w,90)
        turtle.left(-90)
        turtle.fd(5)
        turtle.end_fill()
        turtle.penup()
        turtle.left(180)
        turtle.fd(5)
        turtle.left(90)
        turtle.pendown()
        q -= 10
        w -= 10
elif yu == '2':
    turtle.left(45)
    a = ['red','orange','yellow','green','blue','indigo','violet']
    for i in a:
        turtle.color(i)
        turtle.begin_fill()
        turtle.circle(-q,90)
        turtle.left(-90)
        turtle.fd(2)
        turtle.left(-90)
        turtle.circle(w,90)
        turtle.left(-90)
        turtle.fd(2)
        turtle.end_fill()
        turtle.penup()
        turtle.left(180)
        turtle.fd(2)
        turtle.left(90)
        turtle.pendown()
        q -= 10
        w -= 10
elif yu == '3':
    turtle.left(90)
    a = ['red','orange','yellow','green','blue','indigo','violet']
    q = 110
    w = 100
    for i in a:
        turtle.color(i)
        turtle.begin_fill()
        turtle.circle(-q,180)
        turtle.left(-90)
        turtle.fd(10)
        turtle.left(-90)
        turtle.circle(w,180)
        turtle.left(-90)
        turtle.fd(10)
        turtle.end_fill()
        turtle.penup()
        turtle.left(180)
        turtle.fd(10)
        turtle.left(90)
        turtle.pendown()
        q -= 10
        w -= 10
elif yu == '开发者模式':
    e = input('请输入宽度 单位：像素')
    r = input('请输入弧度')
    y = input('请输入初始角度')
    d = int(input('请输入最长长度 单位：像素'))
    q = d
    w = q - 10
    turtle.left(int(y))
    a = ['red','orange','yellow','green','blue','indigo','violet']
    for i in a:
        turtle.color(i)
        turtle.begin_fill()
        turtle.circle(-q,int(r))
        turtle.left(-90)
        turtle.fd(int(e))
        turtle.left(-90)
        turtle.circle(w,int(r))
        turtle.left(-90)
        turtle.fd(int(e))
        turtle.end_fill()
        turtle.penup()
        turtle.left(180)
        turtle.fd(int(e))
        turtle.left(90)
        turtle.pendown()
        q -= 10
        w -= 10
import time
time.sleep(5)


from PyQt5.QtWidgets import QApplication,QMainWindow,QLabel
import sys
import time
e = time.time()
p = 0
for i in range(2):
    app = QApplication(sys.argv)
    w = QMainWindow()
    w.resize(450,500)
    w.setWindowTitle('加速模拟实验')
    if p == 0:
        Q1 = QLabel(w)
        Q1.resize(450,500)
        Q1.setText('正在启动加速系统...')
        import time
        time.sleep(1)
        Q1.setText('正在启动加速系统...\n已启动四引擎加速\n拼命加速中\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n')
        Q1.setStyleSheet('font-size:30pt;'
                         'background:rgba(0,255,0,0.3)')
    else:
        r = time.time()
        print('加载成功,共用时'+r-e+'秒')
        sys.exit()
    w.show()
    sys.exit(app.exec())
    if p == 0:
        import time
        import random
        time.sleep(random.randint(5,10))
    p += 1




import random
import base64
import re
from mokuai import 思远GUI
a = 思远GUI.enterbox('请输入密码:')
d = ''
e = '%&bg^&*(227sdf391389YaddUHGHh^*'
for i in range(20):
    f = random.choice(e)
    d += f
random.seed(d+'*(hjghj^&*'+a+'%&bg227391389YUHGHh^*')
b = random.choice(a)
g = re.match(b,'13$%^&*4532$%^&*ghh')
